package cn.chainco.cts.idao;

import java.util.List;

import cn.chainco.cts.jdo.Company;
import cn.chainco.cts.jdo.Employee;
import cn.chainco.cts.jdo.User;


public interface IEmplyeeDao extends GenericDao<Employee , Long>{
	public List<Employee> findEmployeeByCompany(final Company company);
	public List<Employee> findEmployeeByCompany(final Company company , final int type);
	public Employee findEmployeeByUser(User user , Company company);
	public List<Employee> findEmployeByUser(User user , String status);
	
	public List<Employee> findEmployee(Company company ,String type, String name , String status , String optype , String opval);
}
